testsuite: Add a case with escaped Latin-1 code
authorBenjamin Otte <otte@redhat.com>
Fri, 10 Jul 2020 00:13:50 +0000 (02:13 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 16 Jul 2020 18:43:11 +0000 (20:43 +0200)
This came up in recent g_uri_escape() discussions.

testsuite/css/data.c

index 2f623df1288c2c13771274cb7ad4147ed025251c..72533fcfb2dcb2f5d18a76d7a3b1b1c8ce3a8581 100644 (file)
@@ -52,6 +52,9 @@ Test tests[] = {
   { "charset",
     "data:text/plain;charset=ISO-8859-1,Timm B\344der",
     "text/plain", CONTENTS("Timm Bäder") },
+  { "charset_escaped",
+    "data:text/plain;charset=ISO-8859-1,Timm%20B%E4der",
+    "text/plain", CONTENTS("Timm Bäder") },
   { "charset_base64",
     "data:text/plain;charset=ISO-8859-5;base64,wOPh29DdILjW0ePb0OLe0g==",
     "text/plain", CONTENTS("Руслан Ижбулатов") },